//
//  FileHandler.h
//  Simple Tagger
//
//  Created by Thomas Bröckers on 21.02.08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <ResultEntry.h>
#import <ID3/TagAPI.h>

extern NSString* const STAlbumTag;
extern NSString* const STArtistAlbumTag;
extern NSString* const STArtistTrackTag;
extern NSString* const STTitleTag;
extern NSString* const STTrackNoTag;
extern NSString* const STTrackCountTag;
extern NSString* const STYearTag;
extern NSString* const STDiscsTag;
extern NSString* const STGenreTag;
extern NSString* const STCoverTag;
extern NSString* const STLabelTag;

@interface FileHandler : NSObject {
}

- (void) tagFiles:(NSArray *) fileList
       WithTracks:(NSArray *) trackList
        AndResult:(ResultEntry *) resultEntry;

- (void) renameFiles:(NSMutableArray *) fileList
          WithSchema:(NSString *) renamingSchema;

- (NSString *) buildPreviewForFiles:(NSMutableArray *) fileList
                         WithSchema:(NSString *) renamingSchema;

- (void) deleteTagsInMp3Files:(NSArray *) fileList;
- (void) sendStatusChange:(NSString *) newStatus;
- (NSMutableDictionary *) readMetaDataFromMp3File:(NSString *) filename;

@end
